<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:41:"./views/home/mobile/account/hongbao.phtml";i:1627629214;}*/ ?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title></title>
		<link rel="stylesheet" href="/static/home/mobile/css/home.css" />
		<script src="/static/home/mobile/js/js/modernizr.js"></script>
	</head>
	<body>
		<div class="wap">
			<!--header start-->
			<div class="header red_top">
				<span onclick="history.back()"> < </span>
				红包大厅
			</div>
			<!--header end-->
			<div style="clear: both;"></div>
			<!--redlist start-->
			<div class="redlist">
				<!--<div class="tt">悬赏红包</div>-->
				<ul>
				    <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
					<li>
						<span><img src="<?php echo $v['touxiang']; ?>"></span>
						<dl>
							<h4><?php echo $v['nickname']; ?></h4>
							<dd onclick="qurenwu(<?php echo $v['task_id']; ?>)">
								<div class="k">
									<a href="#0" class="cd-popup-trigger">
									<img src="/static/home/mobile/images/m02.png">
									<div class="wen">
										<b><?php echo $v['title']; ?></b>
										￥<?php echo $v['money']; ?> 元
									</div>
									</a>
								</div>
								<div class="n">闲猫 悬赏红包</div>
							</dd>
						</dl>
					</li>
					<?php endforeach; endif; else: echo "" ;endif; ?>
				</ul>
			</div>
			<!--redlist end-->
			<!--弹窗-->
			<!--<div class="cd-popup" role="alert">
				
				<div class="cd-popup-container">
					<div class="logo"><img src="/static/home/mobile/images/wap.png"></div>
					<div class="name">林</div>
					<div class="desc">给您发来一个红包</div>
					<div class="rec">完成悬赏任务领取</div>
					<a href="#" class="det">查看领取详情 > </a>
					<a href="#" class="cd-popup-close img-replace">关闭</a>
				</div>
				
			</div>-->
			<script src="/static/home/mobile/js/js/jquery.1.11.1.js"></script>
			<script src="/static/home/mobile/js/js/main.js"></script>
			<script>
			    function qurenwu(id){
			        window.location.href="/home/task/detail/id/"+id+".html"
			    }
			</script>
	</body>
</html>
